package learn.emp01.ex06;

import java.math.BigInteger;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextLine()) {
            String line = scanner.nextLine();
            if (line.trim().isEmpty()) {
                continue;
            }
            String[] numbers = line.trim().split("\\s+");
            if (numbers.length != 2) {
                continue;
            }
            BigInteger num1 = new BigInteger(numbers[0]);
            BigInteger num2 = new BigInteger(numbers[1]);
            BigInteger sum = num1.add(num2);
            System.out.println(sum.toString());
        }

        scanner.close();
    }
}